package com.yuyou.tas.feedback.service.impl;

import com.yuyou.tas.feedback.mapper.FeedbackSituationConfigMapper;
import com.yuyou.tas.feedback.service.IFeedbackSituationConfigService;
import com.yuyou.tas.service.api.feedback.entity.FeedbackSituationConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FeedbackSituationConfigServiceImpl implements IFeedbackSituationConfigService {

    @Autowired
    private FeedbackSituationConfigMapper mapper;


    @Override
    public int deleteByPrimaryKey(Long id) {
        return mapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(FeedbackSituationConfig record) {
        return mapper.insert(record);
    }

    @Override
    public FeedbackSituationConfig selectByPrimaryKey(Long id) {
        return mapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(FeedbackSituationConfig record) {
        return mapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public List<FeedbackSituationConfig> getAll() {
        return mapper.getAll();
    }
}